package org.fcy.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户健康信息表
 * </p>
 *
 * @author fcy
 * @since 2025-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_health_info")
@Schema(description = "用户健康信息表")
public class UserHealthInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "性别")
    private String gender;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "身高(cm)")
    private Float height;

    @Schema(description = "体重(kg)")
    private Float weight;

    @Schema(description = "症状")
    private String symptoms;

    @Schema(description = " 慢性病")
    private String chronicDiseases;

    @Schema(description = "用药")
    private String medications;

    @Schema(description = "药物过敏史")
    private String allergies;

    @Schema(description = "食物禁忌")
    private String foodRestrictions;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;


}
